package com.kfm.base.em;


public enum Season {

    SPRING("春天", 1), SUMMER("夏天"), AUTUMN("秋天"), WINTER;

    private Season(){}

    private Season(String text) {
        this.text = text;
    }

    private Season(String text, int order) {
        this.text = text;
        this.order = order;
    }

    private int order;

    private String text;

    public String getText(){
        return text;
    }
}

class Spring {
    private String text;

    public Spring(String text){
        this.text = text;
    }
}

class Test{

    public static void main(String[] args) {

        Spring s = new Spring("春天");

        Season spring = Season.SPRING;

        System.out.println(spring.getText());
    }
}
